<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=\, initial-scale=1.0" />
    <title>Document</title>
    <style>
      button.active{
        color: red;
        background-color: #fff;
      }
      .content{
        width: 200px;
        height: 200px;
        border: 1px solid #ccc;
        text-align: center;
        line-height: 200px;
      }
    </style>
  </head>
  <body>
    <div id="app">
      <input type="number" v-model="wd">
      <div :style="{
        width: wd + 'px',
        height: 100 + 200 +'px',
        'background-color': 'red'
      }"></div>
    </div>
    <script src="./vue.global.js"></script>
    <script>
      const { createApp } = Vue;
      const app = createApp({
        data() {
          return {
           wd: 200
          };
        }
      });
      app.mount("#app");
    </script>
  </body>
</html>
